from ronglian_sms_sdk import SmsSDK

accId = '2c94811c93863e4f0193f699969b172c'
accToken = '53b3752f2c75411ca43585b3e1de093b'
appId = '2c94811c93863e4f0193f69998171733'


def send_message(mobie, code):
    sdk = SmsSDK(accId, accToken, appId)
    tip = '1'
    mobie = mobie
    datas = (code,)
    resp = sdk.sendMessage(tip, mobie, datas)
    # print(resp)
    return resp


# send_message('15663393196', '1024')
